package org.gfix.parser;

/**
 * Error and warning handler.
 * @author alan
 *
 */
public interface FixErrorHandler {
	
	/**
	 * Called when the parser detects an error
	 * @param fault
	 */
	public void error(FixParseFault fault);
	
	/**
	 * Called when the parser detects an warning.
	 * @param fault
	 */
	public void warning(FixParseFault fault);
}
